package com.example.scientific_screen.controller;

import com.example.scientific_screen.service.ScientficService;
import com.tmsps.common.util.result.ResponseBean;
import com.tmsps.common.util.result.WebResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static com.tmsps.common.util.result.ResponseCodeEnum.EX_USER_REG_RESOURCE;

/**
 * @author YinlinGeng
 * @date 2022/3/22 18:59
 */

@RestController
@RequestMapping("/scientific")
public class ScientficController {

    @Autowired
    private ScientficService scientficService;


    @GetMapping(value = "/screen")
    public ResponseBean remove(String id) {
        return WebResult.getResultPassOk(scientficService.technologicalInnovation());
    }


}
